#!/usr/bin/env python3
import datetime

from apkleaks.cli import main
from apkleaks.utils import util
from apkleaks.colors import color as col

if __name__ == '__main__':
    before_time = datetime.datetime.now()
    util.writeln("** start time..." + before_time.timestamp().__str__(), col.OKBLUE)
    main()
    after_time = datetime.datetime.now()
    util.writeln("** end time..." + after_time.timestamp().__str__(), col.OKBLUE)
    util.writeln("** during time..." + (after_time.timestamp() - before_time.timestamp()).__str__(), col.OKBLUE)
